home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
dev
/
gcc
/
ixemul_src.lha
/
ixemul-41.0
/
network
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-05-18
|
3KB
|
78 lines
CFLAGS=-O2 -fforce-mem -DDEBUG
CC=gcc
CSW=-c
INCS=
SHELL = /bin/sh
.s.o:
@copy $*.s x.c
@gcc -traditional -E x.c -o x.s
$(CC) $(CFLAGS) $(INCS) $(CSW) x.s -o $*.o
.s.bo:
@copy $*.s x.c
@gcc -traditional -E x.c -o x.s
$(CC) $(CFLAGS) $(INCS) $(CSW) x.s -o $*.bo
.c.o:
$(CC) $(CFLAGS) $(INCS) $(CSW) $*.c
.c.bo:
$(CC) $(CFLAGS) $(INCS) $(CSW) -fbaserel $*.c -o $*.bo
.c.X:
gcc -I/scsu -DFINAL -fgen-aux-info -fsyntax-only -S $*.c -o foo.s
-egrep -v "(static|compiled from|:[INO]C )" $*.c.X >$*.X
rm -f $*.c.X
SRCS= getgrent.c gethostnamadr.c getlogin.c getnetbyaddr.c getnetbyname.c \
getnetent.c getpass.c getproto.c getprotoent.c getprotoname.c getpwent.c \
getservbyname.c getservbyport.c getservent.c getttyent.c getusershell.c \
herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c inet_netof.c \
inet_network.c inet_ntoa.c initgroups.c rcmd.c res_comp.c res_debug.c \
res_init.c res_mkquery.c res_query.c res_send.c sethostent.c syslog.c \
ttyname.c ttyslot.c htonl.s htons.s ntohl.s ntohs.s \
page.c log2.c hsearch.c dynahash.c bigkey.c hfunc.c \
ndbm.c buf.c storage.c updutils.c lruhash.c lrutils.c split.c \
search.c lrucache.c insert.c utils.c delete.c big.c seq.c btree.c
OBJS= getgrent.o gethostnamadr.o getlogin.o getnetbyaddr.o getnetbyname.o \
getnetent.o getpass.o getproto.o getprotoent.o getprotoname.o getpwent.o \
getservbyname.o getservbyport.o getservent.o getttyent.o getusershell.o \
herror.o inet_addr.o inet_lnaof.o inet_makeaddr.o inet_netof.o \
inet_network.o inet_ntoa.o initgroups.o rcmd.o res_comp.o res_debug.o \
res_init.o res_mkquery.o res_query.o res_send.o sethostent.o syslog.o \
ttyname.o ttyslot.o \
page.o log2.o hsearch.o dynahash.o bigkey.o hfunc.o \
ndbm.o buf.o storage.o updutils.o lruhash.o lrutils.o split.o \
search.o lrucache.o insert.o utils.o delete.o big.o seq.o btree.o
BOBJS= getgrent.bo gethostnamadr.bo getlogin.bo getnetbyaddr.bo getnetbyname.bo \
getnetent.bo getpass.bo getproto.bo getprotoent.bo getprotoname.bo getpwent.bo \
getservbyname.bo getservbyport.bo getservent.bo getttyent.bo getusershell.bo \
herror.bo inet_addr.bo inet_lnaof.bo inet_makeaddr.bo inet_netof.bo \
inet_network.bo inet_ntoa.bo initgroups.bo rcmd.bo res_comp.bo res_debug.bo \
res_init.bo res_mkquery.bo res_query.bo res_send.bo sethostent.bo syslog.bo \
ttyname.bo ttyslot.bo \
page.bo log2.bo hsearch.bo dynahash.bo bigkey.bo hfunc.bo \
ndbm.bo buf.bo storage.bo updutils.bo lruhash.bo lrutils.bo split.bo \
search.bo lrucache.bo insert.bo utils.bo delete.bo big.bo seq.bo btree.bo
SOBJS= htonl.o htons.o ntohl.o ntohs.o
libnet.a .LIBRARY : $(OBJS) $(SOBJS)
libnetb.a .LIBRARY : $(BOBJS) $(SOBJS)
aux: $(AUX)
clean:
rm -f $(OBJS) $LIB)
dep: $(SRC)
$(CC) >deps -MM $(INCS) $(SRCS)
#########################################################################